Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCP/SFTP-ing a file into a container over SSH is now possible #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

willnx
Copy link

@willnx willnx commented Aug 20, 2019

I noticed the Apache2 license on the code, so here are the changes I'm making for my needs.

With these changes, it's possible for someone to leverage dockerpty over an SSH connection and have SCP/SFTP work as expected. It would be up to the calling application to manage cleaning up and teardown of the container, but at least dockerpty wont spin indefinitely when SCP/SFTP triggers an EOF on stdin.

I tested this functionality when using the dockerpty.start functionality.

Feel free to take this update, or just close the PR. Thanks for doing 99% of the work and making this awesome library! 😄

@willnx
Copy link
Author

willnx commented Aug 20, 2019

Just to be clear, my referenced issue is calling my application's support of SCP "crappy". I think dockerpty is great, and am super happy it exist! Thanks again for making this great library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant